# 创建时间:2023/2/5 18:01
# 创建人:天霄
# 计划 :SenjoTwintail
# 文件 :get_config.py
# 基于 Python 3.8.2
# ========================================
# 获取配置信息
# ========================================
from vars import *
from Common.Common.common import get_yaml


class GetConfig:
    """获取配置，不可修改"""
    root_path = CONST.PATH.ROOT
    _config = get_yaml(CONST.PATH.CONFIG_YAML_PATH)
    _common = _config['Common']
    LogLevel: int = _common['LogLevel']
    OpenLog: bool = _common['OpenLog']


